package com.ysd.modules.app.entity;

import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

@Data
@TableName("collect")
public class CollectEntity implements Serializable {

	private static final long serialVersionUID = 1L;
	
	@TableId
	private Integer id;
	/**
	 * 章节名称
	 */
	private String chapterName;
	/**
	 * 课程名称
	 */
	private String courseName;
	/**
	 * 学生id
	 */
	private Integer studentId;
	/**
	 * 章节id
	 */
	private Integer chapterId;
	/**
	 * 题目集合
	 */
	@TableField(exist = false)
	private List<TopicEntity> tList;
}
